import { Component, Input, OnInit,Output,EventEmitter} from '@angular/core';

@Component({
  selector: 'app-title',
  templateUrl: './title.component.html',
  styleUrls: ['./title.component.scss']
})
export class TitleComponent implements OnInit {

  constructor() { }
  @Input() title?:string;
  @Output() addList=new EventEmitter()
  addBtnFun(){
    this.addList.emit('vue')
  }
  ngOnInit(): void {
  }

}
